package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Clazz;
import com.itheima.pojo.PageResult;

import java.time.LocalDate;

public interface ClazzService extends IService<Clazz> {

      //分页查询
      PageResult<Clazz> selectConditionClazz(String name, LocalDate begin, LocalDate end, int page, int pageSize);

      //添加班级
      void saveClazz(Clazz clazz);

      void updateClazzById(Clazz clazz);
}
